﻿<%@ Page Title="" Language="C#" MasterPageFile="~/shopping/backstage.Master" AutoEventWireup="true" CodeBehind="Order_management.aspx.cs" Inherits="YiDaShuiHang.shopping.Order_management" %>

<%@ Register Src="~/Alert.ascx" TagPrefix="uc1" TagName="Alert" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Scripts/My97DatePicker/WdatePicker.js"></script>
    <script src="showpingjs/ordermanager.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#demolist li').on('click', function () {
                var content = $(this).text();
                $("#dateboxs").text(content);
                document.getElementById('Span12').style.marginTop = '9px';
            });
            $("#ordermanager").addClass("titleclass");
            ordermanager.getdata("1", "|||");
        })

    </script>
     <style type="text/css">
        #small input {
        padding:2px 10px;margin:0px 10px;width:65px;text-align:center;
        
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <uc1:Alert runat="server" ID="Alert" />
    <div class="container" style="margin-top: 30px;">
        <div class="row">
            <div class="col-lg-2 col-md-2 col-sm-2 text-left">
                <span style="font-size: 18px;">订单管理</span>
            </div>
            <div class="col-md-2 btn-group  " style="margin-left:20px" >
           
                    <button class="btn btn-default dropdown-toggle" type="button" id="Button6"
                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style=" height: 34px; width: 100%">
                        <span id="dateboxs" style="width:80%">全部</span><span style=" width:10% ">
                            <span id="Span12" class="caret" style="margin-top:9px; float:right"></span></span>
                    </button>
                    <ul class="dropdown-menu" style=" margin-left:5% ;width:90%" role="menu" id="demolist">
                    <li style=" margin-left:8%"><a>全部</a></li>
                        <li style=" margin-left:8%"><a >未配送</a></li>
                        <li style=" margin-left:8%"><a >在配送</a></li>
                        <li style=" margin-left:8%"><a >已配送</a></li>
                    </ul>
                </div>
            <div class="col-lg-4 col-md-4 col-sm-4  text-right">

                <form class="form-horizontal">
                    <div class="form-group text-right ">
                        <label for="inputEmail3" class="col-sm-2 control-label text-center" style="width: auto; padding-top: 6px;font-weight:400">时间</label>
                        <div class="col-lg-3 text-right" style="padding-left: 0px; padding-right: 0px;">
                            <input type="text" style="width:100px;" class="form-control"onClick="WdatePicker()" id="begintime" />
                        </div>

                        <label for="inputEmail3" class="col-sm-2 control-label text-left" style="width: auto; padding-top: 6px;font-weight:400;padding-left:22px">到</label>
                        <div class="col-lg-3 text-left" style="padding-left: 0px; padding-right: 0px;">
                            <input type="text" style="width:100px;" class="form-control" onClick="WdatePicker()" id="endtime" />
                        </div>
                    </div>
                </form>
            </div>
            <div class="col-md-2"style=" margin-left:-14px;">
                   <input type="text" class="form-control" placeholder="请输入关键字" style="width:82%;height:34px" id="keyword" />
                        </div>  
            <div class="col-md-2"style=" margin-left:-50px">
                    <input class="btn btn-info " onclick="ordermanager.search()" value="查询" type="button"  style="height:34px;margin-left:35px" />
                        
                    </div>
        </div>
        <br />
        <div class="row">
            <div class="col-lg-10 col-md-9 col-sm-8 col-lg-offset-1 col-md-offset-1 col-sm-offset-1">

                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="all">
                        <table class="table table-responsive table-bordered table-striped table-condensed">
                            <thead>
                                <tr style="font-size: 15px;text-align:center">
                                    <td>商品名</td>
                                    <td>价格</td>
                                    <td>数量</td>
                                    <td>联系方式</td>
                                    <td>收货地址</td>
                                    <td>买家留言</td>
                                    <td>下单时间</td>
                                    <td>操作</td>
                                </tr>
                            </thead>
                            <tbody id="tbodyList" style="text-align:center">
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div style="  margin-left:5%">
                <table>
                    <tr>
                       
                        <td style=" width:80%">
                            <div class="fr1">
                                <div class="demo">
                                    <div id="example" class="pagination">
                                    </div>
                                </div>
                            </div>
                        </td>
                        
                         <td style=" width:10%">
                            <div id="record_shu">
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
    </div>
</asp:Content>
